compress/flate.huffmanBitWriter.codegenFreq (field)
17 uses
compress/flate (current package)
huffman_bit_writer.go#L83: codegenFreq [codegenCodeCount]int32
huffman_bit_writer.go#L201: for i := range w.codegenFreq {
huffman_bit_writer.go#L202: w.codegenFreq[i] = 0
huffman_bit_writer.go#L236: w.codegenFreq[size]++
huffman_bit_writer.go#L247: w.codegenFreq[16]++
huffman_bit_writer.go#L260: w.codegenFreq[18]++
huffman_bit_writer.go#L269: w.codegenFreq[17]++
huffman_bit_writer.go#L277: w.codegenFreq[size]++
huffman_bit_writer.go#L289: numCodegens = len(w.codegenFreq)
huffman_bit_writer.go#L290: for numCodegens > 4 && w.codegenFreq[codegenOrder[numCodegens-1]] == 0 {
huffman_bit_writer.go#L294: w.codegenEncoding.bitLength(w.codegenFreq[:]) +
huffman_bit_writer.go#L295: int(w.codegenFreq[16])*2 +
huffman_bit_writer.go#L296: int(w.codegenFreq[17])*3 +
huffman_bit_writer.go#L297: int(w.codegenFreq[18])*7
huffman_bit_writer.go#L468: w.codegenEncoding.generate(w.codegenFreq[:], 7)
huffman_bit_writer.go#L511: w.codegenEncoding.generate(w.codegenFreq[:], 7)
huffman_bit_writer.go#L646: w.codegenEncoding.generate(w.codegenFreq[:], 7)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |